package com.ruoyi.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;

/**
 * 垃圾回收订单对象 garbage_recycling_order
 *
 * @author ruoyi
 * @date 2021-03-29
 */
public class GarbageRecyclingOrder
{
    private static final long serialVersionUID = 1L;

    /** 订单主键 */
    private Long orderid;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userid;

    /** IC卡ID */
    @Excel(name = "IC卡ID")
    private Long cardid;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long deviceid;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String devicenumber;

    /** 设备地址 */
    @Excel(name = "设备地址")
    private String deviceaddress;

    /** 场地ID */
    @Excel(name = "场地ID")
    private Long venuesid;

    /** 场地名称 */
    @Excel(name = "场地名称")
    private String venuesname;

    /** 分拣中心ID */
    @Excel(name = "分拣中心ID")
    private String sortingid;

    /** 分拣中心名称 */
    @Excel(name = "分拣中心名称")
    private String sortingname;

    /** 运营商ID */
    @Excel(name = "运营商ID")
    private String operatorsid;

    /** 运营商名称 */
    @Excel(name = "运营商名称")
    private String operatorsname;

    /** 合伙人ID */
    @Excel(name = "合伙人ID")
    private Long partnersid;

    /** 合伙人名称 */
    @Excel(name = "合伙人名称")
    private String partnersname;

    /** 回收总重量(g) */
    @Excel(name = "回收总重量(g)")
    private Long recyclingweight;

    /** 总积分 */
    @Excel(name = "总积分")
    private Long accpoints;

    /** 投递方式：1.扫码 2.IC卡 */
    @Excel(name = "投递方式：1.扫码 2.IC卡")
    private Long delivertype;

    /** 是否抄表：1.未抄表 2.已抄表 */
    @Excel(name = "是否抄表：1.未抄表 2.已抄表")
    private Long readmetertype;

    /** 是否删除：1.未删除 2.已删除 */
    @Excel(name = "是否删除：1.未删除 2.已删除")
    private Long isdel;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    public void setOrderid(Long orderid)
    {
        this.orderid = orderid;
    }

    public Long getOrderid()
    {
        return orderid;
    }
    public void setUserid(Long userid)
    {
        this.userid = userid;
    }

    public Long getUserid()
    {
        return userid;
    }
    public void setCardid(Long cardid)
    {
        this.cardid = cardid;
    }

    public Long getCardid()
    {
        return cardid;
    }
    public void setDeviceid(Long deviceid)
    {
        this.deviceid = deviceid;
    }

    public Long getDeviceid()
    {
        return deviceid;
    }
    public void setDevicenumber(String devicenumber)
    {
        this.devicenumber = devicenumber;
    }

    public String getDevicenumber()
    {
        return devicenumber;
    }
    public void setDeviceaddress(String deviceaddress)
    {
        this.deviceaddress = deviceaddress;
    }

    public String getDeviceaddress()
    {
        return deviceaddress;
    }
    public void setVenuesid(Long venuesid)
    {
        this.venuesid = venuesid;
    }

    public Long getVenuesid()
    {
        return venuesid;
    }
    public void setVenuesname(String venuesname)
    {
        this.venuesname = venuesname;
    }

    public String getVenuesname()
    {
        return venuesname;
    }
    public void setSortingid(String sortingid)
    {
        this.sortingid = sortingid;
    }

    public String getSortingid()
    {
        return sortingid;
    }
    public void setSortingname(String sortingname)
    {
        this.sortingname = sortingname;
    }

    public String getSortingname()
    {
        return sortingname;
    }
    public void setOperatorsid(String operatorsid)
    {
        this.operatorsid = operatorsid;
    }

    public String getOperatorsid()
    {
        return operatorsid;
    }
    public void setOperatorsname(String operatorsname)
    {
        this.operatorsname = operatorsname;
    }

    public String getOperatorsname()
    {
        return operatorsname;
    }
    public void setPartnersid(Long partnersid)
    {
        this.partnersid = partnersid;
    }

    public Long getPartnersid()
    {
        return partnersid;
    }
    public void setPartnersname(String partnersname)
    {
        this.partnersname = partnersname;
    }

    public String getPartnersname()
    {
        return partnersname;
    }
    public void setRecyclingweight(Long recyclingweight)
    {
        this.recyclingweight = recyclingweight;
    }

    public Long getRecyclingweight()
    {
        return recyclingweight;
    }
    public void setAccpoints(Long accpoints)
    {
        this.accpoints = accpoints;
    }

    public Long getAccpoints()
    {
        return accpoints;
    }
    public void setDelivertype(Long delivertype)
    {
        this.delivertype = delivertype;
    }

    public Long getDelivertype()
    {
        return delivertype;
    }
    public void setReadmetertype(Long readmetertype)
    {
        this.readmetertype = readmetertype;
    }

    public Long getReadmetertype()
    {
        return readmetertype;
    }
    public void setIsdel(Long isdel)
    {
        this.isdel = isdel;
    }

    public Long getIsdel()
    {
        return isdel;
    }
    public void setCtime(Date ctime)
    {
        this.ctime = ctime;
    }

    public Date getCtime()
    {
        return ctime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("orderid", getOrderid())
                .append("userid", getUserid())
                .append("cardid", getCardid())
                .append("deviceid", getDeviceid())
                .append("devicenumber", getDevicenumber())
                .append("deviceaddress", getDeviceaddress())
                .append("venuesid", getVenuesid())
                .append("venuesname", getVenuesname())
                .append("sortingid", getSortingid())
                .append("sortingname", getSortingname())
                .append("operatorsid", getOperatorsid())
                .append("operatorsname", getOperatorsname())
                .append("partnersid", getPartnersid())
                .append("partnersname", getPartnersname())
                .append("recyclingweight", getRecyclingweight())
                .append("accpoints", getAccpoints())
                .append("delivertype", getDelivertype())
                .append("readmetertype", getReadmetertype())
                .append("isdel", getIsdel())
                .append("ctime", getCtime())
                .toString();
    }
}